package com.system.common.response;

import java.io.Serializable;

public class BaseResp<T extends Serializable> implements Serializable {

    private static final long serialVersionUID = 8431563434003179398L;
    /**
     * 响应码
     */
    private Integer code;

    /**
     * 响应内容
     */
    private String msg;

    /**
     * 序列化之后的数据
     */
    private T data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
